package com.spic.business.alarm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.alarm.domain.AlarmModel;
import com.spic.business.alarm.domain.FloodAlarm;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 防汛预警
 * @version 1.0
 * @author liujunyang
 * @date 2021/6/29 9:54
 */
@Mapper
public interface FloodControlMapper extends BaseMapper {
    int insertFlood(FloodAlarm fa);

    int insertAlarm(AlarmModel am);

    List<AlarmModel> selectAlarmList(AlarmModel am);

    List<FloodAlarm> selectFloodAlarmList(Long zid);
}
